GPI Debounce Time

This feature is supported only on FX series readers. The debounce time is used to filter out unwanted GPI signals. If the debounce time is greater than that GPI’s on time, then the GPI will be ignored. If the debounce time is less that the GPI on time, then the GPI will be detected. The function getGPIDebounceTimeMilliseconds can be used for getting the debounce time and setGPIDebounceTimeMilliseconds can be used to set the GPI debounce time.

 

try {

    // Get USB Mode

    USBOperationMode usbOpMode = rm.getUSBOperationMode();

    System.out.println("Current USB Operation Mode is      : " + usbOpMode.getMode().toString()

            + "AllowLLRPConnectionOverride = " + usbOpMode.getAllowLLRPConnectionOverride());

 

    // Set USB Mode

    USBOperationMode newUSBOpMode = new USBOperationMode(USB_OPERATION_MODE.NETWORK, true);

    rm.setUSBOperationMode(newUSBOpMode);

 

} catch (OperationFailureException ex) {

    System.out.println("USB Operation Mode failed " + ex.getStatusDescription() + " " + ex.getVendorMessage());

} catch (InvalidUsageException ex) {

}